package phoenix.web.locators.naughtyfever;

import org.openqa.selenium.By;

import phoenix.web.locators.base.MyProfileLocatorsBase;

/**
 * MyProfilePage locators for NaughtyFever
 */
public class MyProfileLocators extends MyProfileLocatorsBase
{
	/**
	 * Overrides specific locators
	 */
	public MyProfileLocators()
	{
		selectLookingGender = By.xpath("//select[@id='lookingForGender']");
		selectLookingDistance = By.xpath("//select[@id='lookingForDistance']//option[@selected]");
		blockPrimaryPhoto = By.xpath("//div[@class='jcrop-tracker']");
		btnRemovePhoto = By.cssSelector("a.btn.btn-remove");
	}

	@Override
	public By selectGender(String p_value)
	{
		return By.xpath("//select[@id='lookingForGender']/option[@value='" + p_value + "']");
	}

	@Override
	public By selectRadius(String p_value)
	{
		return By.xpath("//select[@id='lookingForDistance']/option[@value='" + p_value + "']");
	}
}
